#pragma once

#ifndef Item_h__
#define Item_h__


#include "ItemsGroup.h"
#include <QString>

class Item
{
public:
    ItemsGroup group;
    QString keyword;
    QString title;
    unsigned long long id;
    double price;
    QString shop;
    QString link;
    QString imgsrc;
    QString location;
public:
    QVariantMap toVariantMap() const;
public:
    static Item fromVariantMap(const QVariantMap &arg);
};

#endif // Item_h__